package xcmg.device.service.vo.company;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by sqq on 2017/12/22.
 */
public class CompanyDealerVO implements Serializable {
    private static final long serialVersionUID = -1L;
    private Long id;

    private String orgId;

    private String dealerOrgId;

    private String dealerCode;

    private String companyName;

    private String shortName;

    private String address;

    private String zip;

    private String fax;

    private String contact;

    private String contactTel;

    private Long dealerClassId;

    private Boolean isPlatCompany;

    private String platOrgId;

    private Date createDate;

    private String createId;

    private Date updateDate;

    private String updateId;

    private Boolean isDel;

    private String departemntId;

    private String owerId;

    //add by huhuawei 2018-9-21
    private String currentId;

    /**
     * 下游企业在平台状态（1未邀请，2已邀请，3待审核，4审核拒绝，5审核通过）
     */
    private Integer applyStatus;
    private String customerGroup;
    private String priceGroup;
    private String saleGroup;
    private String saleDept;

    private String applyStatusDesc;

    private Integer isStorage;

    private BigDecimal totalLimit;

    private BigDecimal usedLimit;

    private BigDecimal oldLimit;

    private Integer errorRow;

    private String remark;

    private Integer enableLimit;

    private String[] idArray;

    private BigDecimal directLimit;

    private String companyNames;

    private List<String> companyNameList;

    @ApiModelProperty(value = "主机厂名称集合，支持模糊")
    private List<String> companyNameLikeList;

    private Integer isSelected;

    private String activeId;

    private String dealerActiveId;

    //客户分级
    private String dealerLevelId;
    private String dealerLevelName;

    /**
     * 是否正常。1正常维护，2已流失
     */
    private Integer normalFlag;

    private BigDecimal advancePayPrice;

    private String country;
	
    private String deptId;

    private String deptName;
    //税率
    private BigDecimal taxRate;

    @ApiModelProperty(value = "级别（云内创建的算1级别，其它2级）")
    private Integer dealerLevel;

    @ApiModelProperty(value = "类别（1、核心企业2、代理商（20二级代理商）  3、供应商4、承运商5、服务站（50二级服务站） 6、代理商&服务站）")
    private Integer dealerType;

    //营销中心code
    @ApiModelProperty(value = "营销中心code", name = "marketingCenterCode")
    private String marketingCenterCode;
    //营销中心name
    @ApiModelProperty(value = "营销中心name", name = "marketingCenterName")
    private String marketingCenterName;
    //营销中心code（非道路）
    @ApiModelProperty(value = "营销中心code（非道路）", name = "marketingCenterCode2")
    private String marketingCenterCode2;
    //营销中心name（非道路）
    @ApiModelProperty(value = "营销中心name（非道路）", name = "marketingCenterName2")
    private String marketingCenterName2;

    @ApiModelProperty(value = "坐标", name = "zb")
    private String zb;

    @ApiModelProperty(value = "服务站地址", name = "detailAddr")
    private String detailAddr;

    //用户编号（多个时用;隔开）
    @ApiModelProperty(value="用户编号（多个时用;隔开）",name="yhbh")
    private String yhbh;
    //用户名称（多个时用;隔开）
    @ApiModelProperty(value="用户名称（多个时用;隔开）",name="yhmc")
    private String yhmc;

    @ApiModelProperty(value = "前端传值使用，不做展示使用")
    private String createName;

    @ApiModelProperty(value = "纬度")
    private String latstr;
    @ApiModelProperty(value = "经度")
    private String longstr;

    @ApiModelProperty(value = "距离，单位m---查询距离时候默认100km")
    private Double distance;

    @ApiModelProperty(value = "最小经纬度字符串--前端勿传值")
    private String minLat;
    @ApiModelProperty(value = "最大经纬度字符串--前端勿传值")
    private String maxLat;
    @ApiModelProperty(value = "最小经纬度字符串--前端勿传值")
    private String minLon;
    @ApiModelProperty(value = "最大经纬度字符串--前端勿传值")
    private String maxLon;

    @ApiModelProperty(value = "类别筛选集合（1、核心企业2、代理商3、供应商4、承运商5、服务站6、代理商&服务站）")
    private List<Integer> dealerTypeList;

    @ApiModelProperty(value = "营销中心code（查询使用）", name = "searchCenterCode")
    private String searchCenterCode;

    public Integer getNormalFlag() {
        return normalFlag;
    }

    public void setNormalFlag(Integer normalFlag) {
        this.normalFlag = normalFlag;
    }

    public String getDealerActiveId() {
        return dealerActiveId;
    }

    public void setDealerActiveId(String dealerActiveId) {
        this.dealerActiveId = dealerActiveId;
    }

    public String getActiveId() {
        return activeId;
    }

    public void setActiveId(String activeId) {
        this.activeId = activeId;
    }

    public Integer getIsSelected() {
        return isSelected;
    }

    public void setIsSelected(Integer isSelected) {
        this.isSelected = isSelected;
    }

    public String getCompanyNames() {
        return companyNames;
    }

    public void setCompanyNames(String companyNames) {
        this.companyNames = companyNames;
    }

    public List<String> getCompanyNameList() {
        return companyNameList;
    }

    public void setCompanyNameList(List<String> companyNameList) {
        this.companyNameList = companyNameList;
    }

    public String getCustomerGroup() {
        return customerGroup;
    }

    public void setCustomerGroup(String customerGroup) {
        this.customerGroup = customerGroup;
    }

    public String getPriceGroup() {
        return priceGroup;
    }

    public void setPriceGroup(String priceGroup) {
        this.priceGroup = priceGroup;
    }

    public String getSaleGroup() {
        return saleGroup;
    }

    public void setSaleGroup(String saleGroup) {
        this.saleGroup = saleGroup;
    }

    public String getSaleDept() {
        return saleDept;
    }

    public void setSaleDept(String saleDept) {
        this.saleDept = saleDept;
    }

    public String getApplyStatusDesc()
    {
        return applyStatusDesc;
    }

    public void setApplyStatusDesc(String applyStatusDesc)
    {
        this.applyStatusDesc = applyStatusDesc;
    }

    public Integer getApplyStatus()
    {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus)
    {
        this.applyStatus = applyStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getDealerOrgId() {
        return dealerOrgId;
    }

    public void setDealerOrgId(String dealerOrgId) {
        this.dealerOrgId = dealerOrgId == null ? null : dealerOrgId.trim();
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode == null ? null : dealerCode.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName == null ? null : shortName.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip == null ? null : zip.trim();
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax == null ? null : fax.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel == null ? null : contactTel.trim();
    }

    public Long getDealerClassId() {
        return dealerClassId;
    }

    public void setDealerClassId(Long dealerClassId) {
        this.dealerClassId = dealerClassId;
    }

    public Boolean getIsPlatCompany() {
        return isPlatCompany;
    }

    public void setIsPlatCompany(Boolean isPlatCompany) {
        this.isPlatCompany = isPlatCompany;
    }

    public String getPlatOrgId() {
        return platOrgId;
    }

    public void setPlatOrgId(String platOrgId) {
        this.platOrgId = platOrgId == null ? null : platOrgId.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId == null ? null : createId.trim();
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId == null ? null : updateId.trim();
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    public String getDepartemntId() {
        return departemntId;
    }

    public void setDepartemntId(String departemntId) {
        this.departemntId = departemntId == null ? null : departemntId.trim();
    }

    public String getOwerId() {
        return owerId;
    }

    public void setOwerId(String owerId) {
        this.owerId = owerId == null ? null : owerId.trim();
    }

    private String invitationCode;

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    private List<Long> ids;

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }


    private String dealerClassName;

    public String getDealerClassName() {
        return dealerClassName;
    }

    public void setDealerClassName(String dealerClassName) {
        this.dealerClassName = dealerClassName;
    }

    public Integer getIsStorage() {
        return isStorage;
    }

    public void setIsStorage(Integer isStorage) {
        this.isStorage = isStorage;
    }

    public BigDecimal getTotalLimit() {
        return totalLimit;
    }

    public void setTotalLimit(BigDecimal totalLimit) {
        this.totalLimit = totalLimit;
    }

    public BigDecimal getUsedLimit() {
        return usedLimit;
    }

    public void setUsedLimit(BigDecimal usedLimit) {
        this.usedLimit = usedLimit;
    }

    public BigDecimal getOldLimit() {
        return oldLimit;
    }

    public void setOldLimit(BigDecimal oldLimit) {
        this.oldLimit = oldLimit;
    }

    public Integer getErrorRow() {
        return errorRow;
    }

    public void setErrorRow(Integer errorRow) {
        this.errorRow = errorRow;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getEnableLimit() {
        return enableLimit;
    }

    public void setEnableLimit(Integer enableLimit) {
        this.enableLimit = enableLimit;
    }

    public String[] getIdArray() {
        return idArray;
    }

    public void setIdArray(String[] idArray) {
        this.idArray = idArray;
    }

    //add by huhuawei 2018-9-21
    public String getCurrentId() {
        return currentId;
    }

    public void setCurrentId(String currentId) {
        this.currentId = currentId;
    }

    public BigDecimal getDirectLimit() {
        return directLimit;
    }

    public void setDirectLimit(BigDecimal directLimit) {
        this.directLimit = directLimit;
    }

    public String getDealerLevelId() {
        return dealerLevelId;
    }

    public void setDealerLevelId(String dealerLevelId) {
        this.dealerLevelId = dealerLevelId;
    }

    public String getDealerLevelName() {
        return dealerLevelName;
    }

    public void setDealerLevelName(String dealerLevelName) {
        this.dealerLevelName = dealerLevelName;
    }

    public BigDecimal getAdvancePayPrice() {
        return advancePayPrice;
    }

    public void setAdvancePayPrice(BigDecimal advancePayPrice) {
        this.advancePayPrice = advancePayPrice;
    }

    public List<String> getCompanyNameLikeList() {
        return companyNameLikeList;
    }

    public void setCompanyNameLikeList(List<String> companyNameLikeList) {
        this.companyNameLikeList = companyNameLikeList;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public Integer getDealerLevel() {
        return dealerLevel;
    }

    public void setDealerLevel(Integer dealerLevel) {
        this.dealerLevel = dealerLevel;
    }

    public Integer getDealerType() {
        return dealerType;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getMarketingCenterCode() {
        return marketingCenterCode;
    }

    public void setMarketingCenterCode(String marketingCenterCode) {
        this.marketingCenterCode = marketingCenterCode;
    }

    public String getMarketingCenterName() {
        return marketingCenterName;
    }

    public void setMarketingCenterName(String marketingCenterName) {
        this.marketingCenterName = marketingCenterName;
    }

    public String getMarketingCenterCode2() {
        return marketingCenterCode2;
    }

    public void setMarketingCenterCode2(String marketingCenterCode2) {
        this.marketingCenterCode2 = marketingCenterCode2;
    }

    public String getMarketingCenterName2() {
        return marketingCenterName2;
    }

    public void setMarketingCenterName2(String marketingCenterName2) {
        this.marketingCenterName2 = marketingCenterName2;
    }

    public String getDetailAddr() {
        return detailAddr;
    }

    public void setDetailAddr(String detailAddr) {
        this.detailAddr = detailAddr;
    }

    public void setDealerType(Integer dealerType) {
        this.dealerType = dealerType;
    }

    public List<Integer> getDealerTypeList() {
        return dealerTypeList;
    }

    public String getSearchCenterCode() {
        return searchCenterCode;
    }

    public void setSearchCenterCode(String searchCenterCode) {
        this.searchCenterCode = searchCenterCode;
    }

    public String getZb() {
        return zb;
    }

    public void setZb(String zb) {
        this.zb = zb;
    }

    public String getLatstr() {
        return latstr;
    }

    public void setLatstr(String latstr) {
        this.latstr = latstr;
    }

    public String getLongstr() {
        return longstr;
    }

    public void setLongstr(String longstr) {
        this.longstr = longstr;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getMinLat() {
        return minLat;
    }

    public void setMinLat(String minLat) {
        this.minLat = minLat;
    }

    public String getMaxLat() {
        return maxLat;
    }

    public void setMaxLat(String maxLat) {
        this.maxLat = maxLat;
    }

    public String getMinLon() {
        return minLon;
    }

    public void setMinLon(String minLon) {
        this.minLon = minLon;
    }

    public String getMaxLon() {
        return maxLon;
    }

    public void setMaxLon(String maxLon) {
        this.maxLon = maxLon;
    }

    public void setDealerTypeList(List<Integer> dealerTypeList) {
        this.dealerTypeList = dealerTypeList;
    }

    public String getYhbh() {
        return yhbh;
    }

    public void setYhbh(String yhbh) {
        this.yhbh = yhbh;
    }

    public String getYhmc() {
        return yhmc;
    }

    public void setYhmc(String yhmc) {
        this.yhmc = yhmc;
    }
}
